/* Scoped styles: the legacy feed and account screens retain their own layout. */
.content.research-host { padding: 0; overflow: clip; }
.research { --rs-blue: #2457d6; --rs-muted: #68758c; --rs-border: #e8edf5; display: grid; grid-template-columns: 222px minmax(0, 1fr); min-height: 720px; font-size: 13px; line-height: 1.5; }
.research svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.research button { min-width: 0; min-height: 34px; border-radius: 7px; font-size: 12px; padding: 6px 10px; transition: background-color .12s, border-color .12s; }
.research button:hover:not(:disabled) { background: #ecf2ff; }
.research button:focus-visible, .research a:focus-visible, .research input:focus-visible, .research select:focus-visible, .research textarea:focus-visible, .research summary:focus-visible { outline: 2px solid #3267e4; outline-offset: 3px; }
.research button:disabled { cursor: wait; }
.research input, .research select, .research textarea { min-width: 0; max-width: 100%; font: inherit; color: #283951; border: 1px solid #dce3ef; border-radius: 7px; padding: 8px 10px; background: #fff; }
.research input[type=checkbox] { width: 15px; height: 15px; min-height: 15px; min-width: 15px; padding: 0; accent-color: var(--rs-blue); flex-shrink: 0; }
.research .rs-primary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-color: var(--rs-blue); background: var(--rs-blue); color: white; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 3px #1844a817; }
.research .rs-primary:hover:not(:disabled) { background: #1746bd; }
.research .rs-text-button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: #63748e; padding: 3px 5px; min-height: 28px; }
.research .rs-text-button svg { width: 14px; height: 14px; }
.rs-sidebar { display: flex; flex-direction: column; min-width: 0; background: #f9fbff; border-right: 1px solid var(--rs-border); padding: 23px 12px 14px; }
.rs-brand { display: flex; align-items: center; gap: 10px; margin: 0 10px 27px; }
.rs-brand-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--rs-blue); background: #e9efff; border: 1px solid #dce6ff; border-radius: 10px; }
.rs-brand-icon svg { width: 23px; height: 23px; }
.rs-brand strong { font-size: 15px; letter-spacing: -.5px; }
.rs-brand div > span { display: block; color: #8a98af; font-size: 8px; letter-spacing: 1.3px; margin-top: 1px; }
.research .rs-nav-item { display: flex; align-items: center; width: 100%; gap: 10px; border: 0; background: transparent; color: #5e6e88; margin-bottom: 3px; min-height: 41px; padding: 9px 12px; text-align: left; }
.rs-nav-item span { flex: 1; }
.research .rs-nav-item.is-active { color: #1f51ca; background: #eaf0ff; font-weight: 600; }
.rs-nav-item b { color: inherit; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rs-topic-label { margin: 25px 9px 8px; display: flex; align-items: center; justify-content: space-between; color: #8590a3; font-size: 10px; letter-spacing: .3px; }
.rs-topic-label b { font-size: 9px; margin-left: 3px; font-weight: 500; }
.research .rs-topic-label button { background: transparent; border: 0; padding: 4px; min-height: 26px; color: #8290a8; }
.rs-topic-label svg { width: 15px; height: 15px; }
.rs-topic-row { display: flex; align-items: center; border-radius: 7px; }
.rs-topic-row.is-active { background: #eaf0ff; }
.research .rs-topic-select { display: flex; align-items: center; gap: 9px; width: calc(100% - 27px); padding: 10px 10px; text-align: left; background: transparent; border: 0; color: #3d4d68; }
.rs-topic-select > span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-topic-select b { font-size: 10px; color: #8391a8; font-weight: 500; }
.rs-topic-select small { display: block; color: #97a0ad; font-size: 9px; }
.rs-topic-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #6388e6; flex-shrink: 0; }
.rs-topic-dot.is-paused { background: #b9c0ce; }
.research .rs-topic-edit { border: 0; background: transparent; padding: 3px; min-width: 27px; font-weight: bold; color: #7184a7; }
.research .rs-add-topic { display: flex; align-items: center; gap: 7px; margin: 12px 7px 0; color: #5571a6; border: 1px dashed #d3def2; width: calc(100% - 14px); background: transparent; justify-content: center; }
.rs-add-topic svg { width: 14px; height: 14px; }
.rs-sidebar-empty { font-size: 11px; margin: 15px 12px; color: var(--rs-muted); }
.rs-coverage { margin: 26px 10px 20px; border-top: 1px solid #e5ebf5; padding-top: 18px; }
.rs-coverage > span { color: #8895ab; font-size: 10px; }
.rs-coverage p { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #65748c; margin: 10px 0; }
.rs-source-dot { width: 6px; height: 6px; display: inline-block; border-radius: 2px; }
.rs-source-dot.dc { background: #4c78d9; }
.rs-source-dot.arca { background: #b1934a; }
.rs-coverage small { color: #99a4b6; font-size: 10px; }
.rs-sidebar-footer { margin-top: auto; padding-top: 15px; }
.research .rs-sidebar-footer button { display: flex; align-items: center; gap: 9px; background: transparent; border: 0; color: #697990; width: 100%; text-align: left; padding: 8px 11px; }
.rs-sidebar-footer svg { width: 15px; height: 15px; }
.rs-sidebar-footer p { font-size: 9px; text-align: center; color: #98a4b8; margin: 12px 0 3px; }
.rs-workspace { min-width: 0; padding: 27px 30px 18px; background: #fff; }
.rs-header { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.rs-eyebrow { color: #8491a6; font-size: 10px; letter-spacing: .2px; margin-bottom: 3px; }
.rs-header h2 { font-size: 23px; letter-spacing: -.9px; line-height: 1.4; margin: 0; color: #25344b; word-break: keep-all; overflow-wrap: anywhere; }
.rs-header p { font-size: 11px; margin: 6px 0 0; color: #8290a5; overflow-wrap: anywhere; }
.rs-header > button { min-height: 38px; padding: 8px 14px; }
.rs-alert, .rs-notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border-radius: 8px; margin-bottom: 12px; font-size: 12px; overflow-wrap: anywhere; }
.rs-alert { background: #fff5ef; border: 1px solid #f4dccb; color: #914d25; }
.rs-notice { background: #f0f6ff; border: 1px solid #dae7ff; color: #3f6099; }
.rs-alert button, .rs-notice button { flex-shrink: 0; }
.rs-notice button { padding: 1px 7px; min-height: 25px; background: transparent; border: 0; font-size: 19px; }
.rs-collection { border: 1px solid #e3eaf6; background: #fafcff; border-radius: 8px; margin-bottom: 18px; }
.rs-collection summary { display: flex; align-items: center; gap: 8px; padding: 10px 13px; font-size: 10px; color: #77849a; cursor: pointer; list-style: none; }
.rs-collection summary::-webkit-details-marker { display: none; }
.rs-collection summary strong { color: #4e6387; font-size: 11px; font-weight: 500; flex-shrink: 0; }
.rs-status-dot { width: 6px; height: 6px; background: #6fa98d; border-radius: 50%; flex-shrink: 0; }
.rs-status-dot.is-running { background: #3572df; box-shadow: 0 0 0 3px #dfeaff; animation: rs-pulse 1.4s ease-in-out infinite; }
.rs-collection.has-warning .rs-status-dot:not(.is-running) { background: #c28f48; }
.rs-collection.has-warning { background: #fffdf8; border-color: #ede3ce; }
.rs-status-description { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-schedule { margin-left: auto; white-space: nowrap; color: #7a8ca8; }
.rs-details-label { border-left: 1px solid #dce4ef; padding-left: 9px; margin-left: 2px; white-space: nowrap; }
.rs-details-label::after { content: "⌄"; margin-left: 8px; }
.rs-collection[open] .rs-details-label::after { content: "⌃"; }
.rs-collection-detail { border-top: 1px solid #e8edf5; padding: 8px 14px 12px; font-size: 11px; }
.rs-collection-detail > p { color: #7e8ba0; }
.rs-collection-detail ul { margin: 0; padding: 0; list-style: none; max-height: 250px; overflow-y: auto; }
.rs-collection-detail li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e9eef5; }
.rs-collection-detail li:last-child { border-bottom: 0; }
.rs-collection-detail li div { flex: 1; min-width: 0; }
.rs-collection-detail li strong { font-weight: 500; color: #4f6383; }
.rs-collection-detail li small { display: block; color: #8793a7; overflow-wrap: anywhere; margin-top: 3px; }
.rs-collection-detail li > b { white-space: nowrap; color: #7e8ca3; font-weight: 500; }
.rs-job-status { font-size: 9px; border-radius: 4px; padding: 2px 5px; flex-shrink: 0; }
.rs-job-status.is-ok { color: #3e7c66; background: #e9f5ef; }
.rs-job-status.is-error { color: #a07137; background: #faf0de; }
.rs-filters { border-bottom: 1px solid var(--rs-border); padding-bottom: 13px; }
.rs-filter-row { display: flex; align-items: center; gap: 12px; }
.rs-segment { display: flex; background: #f1f4f9; border: 1px solid #edf0f5; padding: 3px; border-radius: 8px; flex-shrink: 0; gap: 2px; }
.research .rs-segment button { border: 1px solid transparent; background: transparent; color: #7a889e; font-size: 11px; min-height: 31px; padding: 5px 12px; border-radius: 5px; }
.research .rs-segment .is-active { background: white; border-color: #e1e7f1; color: #3563c1; box-shadow: 0 1px 2px #18315d0a; font-weight: 600; }
.rs-segment span { font-size: 9px; padding: 1px 3px; border-radius: 3px; margin-left: 2px; background: #e2e9f6; color: #728bb6; }
.research .rs-search { display: flex; align-items: center; flex: 1; max-width: 335px; margin-left: auto; position: relative; }
.rs-search svg { position: absolute; left: 11px; width: 15px; height: 15px; color: #a0acc0; }
.research .rs-search input { width: 100%; font-size: 11px; min-height: 36px; padding-left: 34px; background: #fdfefe; }
.research .rs-search input::placeholder { color: #a0abc0; }
.rs-filter-secondary { gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.research .rs-filter-secondary > label { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #8c97a9; }
.research .rs-filter-secondary select { font-size: 10px; padding: 4px 21px 4px 7px; min-height: 28px; color: #5f6e86; border-color: #e4e9f2; }
.research .rs-check { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.research .rs-filter-secondary .rs-check { color: #70809a; gap: 5px; }
.rs-group-check { margin-left: auto; }
.rs-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; color: #7d8ca4; font-size: 11px; border-bottom: 1px solid var(--rs-border); }
.rs-results-heading strong { font-weight: 650; color: #3864bc; margin-right: 2px; }
.rs-results-heading > button { flex-shrink: 0; font-size: 10px; }
.rs-hidden-count { font-size: 10px; margin-left: 9px; color: #98a3b5; }
.rs-post { display: flex; align-items: flex-start; gap: 13px; padding: 17px 2px 14px; border-bottom: 1px solid var(--rs-border); }
.rs-post:hover { background: #fcfdff; }
.rs-post-content { min-width: 0; flex: 1; }
.rs-title-row { display: flex; align-items: baseline; gap: 9px; }
.rs-title-row h3 { flex: 0 1 auto; min-width: 0; }
.rs-post-details { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; margin-top: 2px; }
.rs-post-meta { display: flex; min-width: 0; max-width: 100%; gap: 6px; align-items: center; color: #939fb2; font-size: 10px; flex-wrap: wrap; }
.rs-post-meta > span:nth-child(2) { color: #71819a; overflow-wrap: anywhere; min-width: 0; }
.rs-source { display: inline-flex; align-items: center; padding: 1px 5px; border-radius: 4px; font-size: 9px; white-space: nowrap; }
.rs-source.dc { color: #517bce; background: #edf3ff; }
.rs-source.arca { color: #998043; background: #f8f2e4; }
.rs-meta-divider { color: #c4ccdb; }
.rs-unread-label { color: #7391d0; font-size: 8px; font-weight: 600; letter-spacing: .4px; }
.rs-post h3 { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.55; color: #35455d; letter-spacing: -.2px; overflow-wrap: anywhere; }
.rs-post h3 a { color: inherit; text-decoration: none; }
.rs-post h3 a:hover { color: #2457c7; text-decoration: underline; text-underline-offset: 3px; }
.rs-post h3 svg { width: 13px; height: 13px; color: #a5b6d1; margin-left: 4px; vertical-align: -1px; }
.rs-post.is-read h3 { color: #8b96a8; font-weight: 500; }
.rs-excerpt { font-size: 11px; color: #8a96a8; line-height: 1.7; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.rs-post-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.rs-signals { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.rs-score { color: #8796ad; border: 1px solid #e3e8f1; padding: 1px 5px; border-radius: 4px; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-score.is-high { background: #eef7f2; color: #4e8d71; border-color: #dcefe4; }
.rs-signal { color: #8a97a9; background: #f3f5f8; border-radius: 3px; padding: 2px 5px; font-size: 9px; }
.rs-topic-chip { font-size: 9px; color: #7995c6; }
.rs-topic-chip::before { content: "#"; color: #b2c3df; margin-right: 2px; }
.rs-post-counts { display: flex; gap: 11px; color: #75839a; font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rs-post-counts b { color: #526780; font-weight: 500; padding-left: 2px; }
.rs-post-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.research .rs-post-tools .rs-text-button { font-size: 10px; color: #7990b5; padding: 2px 0; min-height: 26px; }
.rs-body-status { font-size: 9px; color: #a2acbd; }
.research .rs-save { margin: 0; border: 0; background: transparent; padding: 3px; min-height: 26px; color: #8b9cb6; }
.rs-save svg { width: 17px; height: 17px; }
.research .rs-save.is-saved { color: #547cd0; }
.rs-save.is-saved svg { fill: #e2ebff; }
.rs-preview { margin: 10px 0 1px; padding: 13px 15px; background: #f8faff; border: 1px solid #e7edf7; border-radius: 8px; font-size: 11px; }
.rs-preview-label { color: #7892bc; font-size: 9px; margin: 0 0 7px; }
.rs-preview-text { color: #60728f; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 370px; overflow-y: auto; }
.rs-preview-reason { color: #7c8ca5; margin-top: 12px; }
.rs-preview-reason strong { font-weight: 500; color: #526e9b; margin-right: 5px; }
.rs-preview button { font-size: 10px; min-height: 30px; margin-top: 5px; }
.rs-original { font-size: 10px; color: #6284bc; text-decoration: none; margin-left: 12px; }
.rs-related { display: grid; gap: 3px; color: #93a0b4; font-size: 10px; margin: 12px 0; overflow-wrap: anywhere; }
.rs-related strong { font-weight: 500; color: #7285a4; }
.rs-duplicate-group { background: #fafcff; border-bottom: 1px solid var(--rs-border); }
.research .rs-duplicate-group > button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 7px 12px; font-size: 10px; color: #6b86b4; }
.rs-duplicate-group > button span { font-size: 9px; color: #a1adc0; margin-left: 7px; }
.rs-post.is-nested { margin-left: 18px; padding-right: 8px; }
.research .rs-load-more { display: block; margin: 20px auto; color: #6d85ae; font-size: 11px; background: white; }
.rs-empty { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.rs-empty-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: #f0f5ff; color: #86a3dc; border-radius: 15px; margin-bottom: 6px; }
.rs-empty-icon svg { width: 25px; height: 25px; }
.rs-empty h3 { font-size: 15px; color: #627797; font-weight: 500; margin: 13px 0 5px; }
.rs-empty p { max-width: 420px; font-size: 11px; color: #95a1b5; line-height: 1.8; margin: 0 0 18px; }
.rs-empty button { font-size: 11px; min-height: 34px; }
.rs-skeleton { padding: 16px 0; }
.rs-skeleton div { height: 110px; margin: 12px 0; border-bottom: 1px solid #f0f3f8; background: linear-gradient(100deg, #f8faff 20%, #f0f4fa 45%, #f8faff 70%); background-size: 200% 100%; animation: rs-loading 1.8s ease-in-out infinite; }
.rs-footnote { display: flex; align-items: flex-start; gap: 10px; font-size: 9px; color: #a1adbf; padding: 16px 0 8px; }
.research .rs-footnote button { flex-shrink: 0; margin-left: auto; min-height: 20px; padding: 0; font-size: 9px; color: #8498b9; }
.rs-local-note { color: #a2adbe; font-size: 9px; line-height: 1.7; padding: 9px 0 0; border-top: 1px solid #f0f3f7; }
.rs-dialog { width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 840px); padding: 0; border: 1px solid #dae3f3; border-radius: 13px; color: #405572; box-shadow: 0 24px 90px #15306433; }
.rs-dialog::backdrop { background: #152a4c55; backdrop-filter: blur(2px); }
.rs-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; border-bottom: 1px solid #e9eef5; padding: 21px 24px 17px; }
.rs-dialog-header h2 { font-size: 18px; letter-spacing: -.5px; color: #344c70; margin: 0; }
.rs-dialog-header p { font-size: 11px; color: #94a2b7; margin: 7px 0 0; }
.research .rs-dialog-header > button { font-size: 22px; color: #8b9bb5; border: 0; background: transparent; padding: 0 5px; min-height: 27px; line-height: 1; }
.rs-dialog form, .rs-rules { padding: 20px 24px 24px; }
.rs-dialog form > label { margin-bottom: 15px; }
.rs-dialog label { font-size: 12px; color: #6f839f; gap: 7px; }
.rs-dialog label small { font-size: 10px; color: #a4afbf; display: inline; }
.rs-dialog textarea { width: 100%; resize: vertical; min-height: 65px; }
.rs-dialog form input:not([type=checkbox]), .rs-dialog form select { width: 100%; min-height: 37px; }
.rs-dialog form > fieldset { border: 1px solid #e4eaf4; border-radius: 8px; margin: 0 0 9px; padding: 12px; display: grid; gap: 10px; }
.rs-dialog legend { color: #8392aa; font-size: 11px; padding: 0 5px; }
.rs-dialog .rs-muted { color: #9ba7b9; font-size: 10px; line-height: 1.7; }
.rs-dialog-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 19px; }
.research .rs-dialog-actions .rs-danger { margin-right: auto; color: #b47878; background: transparent; border-color: #efdcdc; }
.rs-form-error, .rs-inline-error { color: #b77545 !important; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.rs-form-error:empty { display: none; }
.rs-form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.rs-form-row > label { flex: 1; min-width: 0; }
.rs-settings-note { border-radius: 8px; background: #f3f7ff; border: 1px solid #e3ebfb; padding: 13px; color: #7c90b0; font-size: 11px; line-height: 1.8; margin: 16px 0; }
.rs-channel-list { padding: 5px 24px 0; max-height: 280px; overflow-y: auto; }
.rs-channel-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #eaf0f7; }
.rs-channel-item > div { flex: 1; min-width: 0; }
.rs-channel-item strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.rs-channel-item small { display: block; font-size: 10px; color: #9ba8bc; }
.research .rs-channel-item button { min-height: 28px; font-size: 10px; padding: 4px 6px; white-space: nowrap; }
.rs-channel-empty { text-align: center; color: #91a0b9; font-size: 12px; padding: 24px 10px 16px; line-height: 1.9; }
.research .rs-import { display: block; margin: 15px 24px 0; width: calc(100% - 48px); border-style: dashed; color: #7690b9; background: #fbfdff; font-size: 11px; }
.rs-dialog form > h3 { font-size: 12px; font-weight: 500; color: #7590b6; margin: 3px 0 15px; }
.rs-rules { font-size: 12px; line-height: 1.9; color: #7b8eaa; }
.rs-rules > p:first-child { margin-top: 0; }
.rs-rules strong { font-weight: 600; color: #5975a0; }
@keyframes rs-pulse { 50% { opacity: .4; } }
@keyframes rs-loading { to { background-position: -200% 0; } }
@media (min-width: 1450px) { .rs-workspace { padding-left: 38px; padding-right: 38px; } .rs-post { padding-top: 20px; padding-bottom: 17px; } .rs-post h3 { font-size: 15px; } }
@media (max-width: 1050px) { .research { grid-template-columns: 195px minmax(0, 1fr); } .rs-workspace { padding: 22px 21px 16px; } .rs-filter-secondary { gap: 9px; } .rs-group-check { margin-left: 0; } .rs-filter-secondary > label { flex-shrink: 0; } .rs-schedule { display: none; } .rs-details-label { margin-left: auto; } .rs-post-bottom { gap: 10px; } }
@media (max-width: 760px) {
  .research { display: block; min-height: 600px; }
  .rs-sidebar { padding: 12px 13px 9px; border-right: 0; border-bottom: 1px solid #e7edf8; }
  .rs-brand, .rs-coverage, .rs-sidebar-footer p, .rs-topic-label { display: none; }
  .rs-sidebar > nav { display: flex; flex-wrap: wrap; gap: 5px; }
  .research .rs-nav-item { width: auto; flex: 1; justify-content: center; font-size: 11px; gap: 5px; padding: 6px; min-height: 38px; margin: 0; white-space: nowrap; }
  .rs-nav-item svg { width: 15px; height: 15px; }
  .rs-nav-item span { flex: none; }
  .rs-nav-item b { font-size: 9px; }
  .rs-topic-list { display: flex; gap: 5px; width: 100%; overflow-x: auto; padding: 8px 0 2px; }
  .rs-topic-row { flex-shrink: 0; border: 1px solid #e3eaf6; background: #fff; }
  .research .rs-topic-select { width: auto; padding: 6px 4px 6px 10px; min-height: 34px; font-size: 11px; }
  .rs-topic-select > span:nth-child(2) { max-width: 130px; }
  .rs-topic-select b { margin-left: 3px; }
  .rs-topic-select small { display: inline; margin-left: 3px; font-size: 8px; }
  .research .rs-topic-edit { min-height: 34px; }
  .research .rs-add-topic { width: auto; margin: 3px 0 0; font-size: 10px; border: 0; padding: 3px 7px; min-height: 30px; }
  .rs-sidebar-footer { display: flex; padding: 0; margin-top: -30px; justify-content: flex-end; pointer-events: none; }
  .research .rs-sidebar-footer button { width: auto; font-size: 10px; padding: 3px 7px; gap: 4px; min-height: 30px; pointer-events: auto; }
  .rs-sidebar-footer svg { width: 12px; height: 12px; }
  .rs-workspace { padding: 20px 15px 14px; }
  .rs-header { margin-bottom: 15px; gap: 8px; }
  .rs-header h2 { font-size: 21px; }
  .rs-header p { font-size: 10px; max-width: 240px; }
  .rs-eyebrow { font-size: 9px; }
  .rs-header > button { font-size: 11px; padding: 7px 11px; min-height: 37px; }
  .rs-header svg { width: 14px; height: 14px; }
  .rs-filter-primary { gap: 10px; flex-wrap: wrap; }
  .rs-segment { width: 100%; }
  .research .rs-segment button { flex: 1; min-height: 32px; }
  .research .rs-search { max-width: none; width: 100%; }
  .rs-filter-secondary { gap: 10px 13px; margin-top: 12px; }
  .research .rs-filter-secondary select { min-height: 31px; }
  .research .rs-filter-secondary > label { font-size: 10px; }
  .rs-collection { margin-bottom: 14px; }
  .rs-collection summary { padding: 10px; gap: 6px; flex-wrap: wrap; }
  .rs-status-description { flex: 1; font-size: 9px; min-width: 70px; }
  .rs-details-label { padding-left: 6px; font-size: 9px; }
  .rs-results-heading { font-size: 10px; }
  .rs-hidden-count { display: block; margin: 3px 0 0; font-size: 9px; }
  .rs-post { gap: 6px; padding: 15px 0 12px; }
  .rs-post h3 { font-size: 14px; line-height: 1.65; }
  .rs-post-meta { font-size: 9px; gap: 5px; }
  .rs-excerpt { font-size: 11px; }
  .rs-post-counts { font-size: 9px; }
  .rs-post-tools { gap: 8px; }
  .rs-body-status { font-size: 8px; }
  .research .rs-save { min-height: 37px; min-width: 29px; }
  .rs-preview { padding: 12px; }
  .rs-empty { padding: 30px 15px; min-height: 280px; }
  .rs-empty p { font-size: 11px; }
  .rs-footnote { display: block; font-size: 9px; }
  .research .rs-footnote button { margin: 5px 0 0; }
  .rs-local-note { font-size: 9px; }
  .rs-dialog-header { padding: 19px 18px 15px; }
  .rs-dialog form, .rs-rules { padding: 18px; }
  .rs-dialog label { font-size: 11px; }
  .rs-dialog input, .rs-dialog textarea, .rs-dialog select { font-size: 16px; }
  .rs-channel-list { padding: 0 18px; }
  .rs-channel-item { gap: 7px; }
  .rs-channel-item .rs-source { display: none; }
  .research .rs-import { margin-left: 18px; width: calc(100% - 36px); }
}
.rs-results-actions { display: flex; flex-shrink: 0; align-items: center; gap: 13px; }
.rs-relevance-tabs { flex-wrap: wrap; max-width: 100%; }
.rs-relevance-note { color: #61718d; font-size: 11px; margin: 8px 0 14px; line-height: 1.6; }
@media (min-width: 761px) {
  [data-r-region="relevance"] { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; }
  [data-r-region="relevance"]:empty { margin: 0; }
  .rs-relevance-note { flex: 1; min-width: 190px; margin: 0; }
  .research[data-density="compact"] .rs-relevance-tabs button { min-height: 28px; padding: 4px 10px; }
}
.rs-relevance-badge { color: #315c9b; background: #eef4ff; padding: 1px 4px; border-radius: 3px; white-space: nowrap; }
.rs-relevance-badge[data-status="pending"], .rs-relevance-badge[data-status="mention"] { color: #826129; background: #faf4e7; }
.rs-relevance-badge[data-status="unrelated"] { color: #64748b; background: #f1f4f8; }
.rs-relevance-evidence { padding-bottom: 12px; border-bottom: 1px solid #e0e7f1; margin-bottom: 12px; font-size: 12px; }
.rs-relevance-evidence blockquote { margin: 8px 0; padding: 6px 10px; border-left: 2px solid #a4b8de; color: #34435e; white-space: pre-wrap; overflow-wrap: anywhere; }
.rs-relevance-evidence blockquote span { display: block; color: #64748b; font-size: 11px; margin-bottom: 4px; }
.research .rs-results-actions button { font-size: 10px; }
.research .rs-density[aria-pressed="true"] { color: #315cbd; background: #eef3ff; }
.rs-direct { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 20px; color: #5276b0; font-size: 11px; text-decoration: none; white-space: nowrap; }
.rs-direct:hover { color: #2457c7; text-decoration: underline; }
.rs-direct:focus-visible { outline: 2px solid #547cd0; outline-offset: 2px; border-radius: 2px; }
.research[data-density="compact"] .rs-workspace { padding-top: 20px; }
.research[data-density="compact"] .rs-header { margin-bottom: 12px; }
.research[data-density="compact"] .rs-collection { margin-bottom: 12px; }
.research[data-density="compact"] .rs-filter-secondary { margin-top: 10px; }
.research[data-density="compact"] .rs-results-heading { padding-top: 6px; padding-bottom: 6px; }
.research[data-density="compact"] .rs-post { padding: 4px 2px; gap: 8px; }
.research[data-density="compact"] .rs-post-details { margin-top: 0; }
.research[data-density="compact"] .rs-post h3 { font-size: 13px; line-height: 1.55; }
.research[data-density="compact"] .rs-post h3 a { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.research[data-density="compact"] .rs-post h3 a:focus-visible { -webkit-line-clamp: unset; }
.research[data-density="compact"] .rs-post-meta { font-size: 9px; gap: 5px; }
.research[data-density="compact"] .rs-post-counts { gap: 9px; }
.research[data-density="compact"] .rs-post-tools { gap: 10px; }
.research[data-density="compact"] .rs-excerpt,
.research[data-density="compact"] .rs-signals,
.research[data-density="compact"] .rs-body-status { display: none; }
@media (max-width: 1000px) {
  .rs-post-details { column-gap: 10px; }
  .research[data-density="compact"] .rs-post-tools { gap: 7px; }
  .research[data-density="compact"] .rs-post-counts { gap: 6px; }
}
@media (max-width: 760px) {
  .rs-results-heading { gap: 7px; flex-wrap: wrap; }
  .rs-results-actions { margin-left: auto; gap: 9px; }
  .research .rs-results-actions button { font-size: 9px; }
  .research[data-density="compact"] .rs-post { padding: 9px 0 7px; }
  .research[data-density="compact"] .rs-post h3 { font-size: 13px; }
  .research[data-density="compact"] .rs-post h3 a { -webkit-line-clamp: 2; }
  .research[data-density="compact"] .rs-post-tools { gap: 15px; }
  .research[data-density="compact"] .rs-post-meta { font-size: 9px; gap: 4px; }
}
@media (pointer: coarse) {
  .research .rs-post-tools .rs-text-button, .research .rs-direct { min-height: 36px; }
  .research .rs-save { min-height: 40px; min-width: 36px; }
}
@media (prefers-reduced-motion: reduce) { .research *, .research *::before, .research *::after { animation: none !important; transition: none !important; } }
