.research-tabs { display: flex; gap: 8px; margin: 10px 0 18px; flex-wrap: wrap; }
.research-tabs button { flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: inherit; }
.research-tabs [aria-pressed=true] { background: #486858; color: white; }
.research-person-list { max-height: 240px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin: 12px 0; }
.research-person-list label { display: flex; gap: 10px; align-items: center; padding: 8px; }
.research-person-list label[hidden] { display: none; }
.research-person-list small { display: block; color: var(--muted); }
.research-person-list input, .research-assignment input { width: 18px; height: 18px; flex-shrink: 0; accent-color: #486858; }
.research-dialog textarea { width: 100%; min-height: 150px; font: .85rem/1.5 monospace; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf8; color: #263b30; }
.research-dialog [data-research-packet], .research-dialog [data-research-preview] { margin-top: 18px; }
.research-note { border: 1px solid var(--line); background: #fffdf777; padding: 18px; border-radius: 12px; margin: 16px 0; overflow-wrap: anywhere; }
.research-note h3 { margin: 8px 0 10px; font-size: 1.2rem; }
.research-note h4 { margin: 16px 0 5px; font-size: .88rem; }
.research-note summary { cursor: pointer; font-size: .88rem; }
.research-text { white-space: pre-wrap; }
.research-kind { display: inline-block; border: 1px solid #bba978; border-radius: 20px; padding: 3px 9px; color: #735d30; font-size: .75rem; }
.research-assignment { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.research-origin, .research-sources small { font-size: .75rem; color: var(--muted); }
.research-sources { padding-left: 18px; }
.research-sources li { margin: 8px 0; }
.research-sources small { display: block; }
.research-warning { color: #8c4135; }
.research-duplicate { opacity: .65; }
[data-research-status] { white-space: pre-wrap; overflow-wrap: anywhere; }
.research-search-button { margin: .8rem 0; width: 100%; white-space: normal; text-align: left; }
.research-source-list pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .75rem; }
.research-source-list article { padding: .5rem; border-bottom: 1px solid var(--line, #ddd); }
