/* Admin research-due queue: fund row groups over requirement rows; palette and cells belong to .dt. */
#module-research-due { min-width: 0; }
.rd-head h1, .rd-head p { margin: 0; }
.rd-head p { margin-top: 6px; max-width: 72ch; }
.rd-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 16px; margin: 0 0 16px; }
.rd-counts[hidden], .rd-pager[hidden], .rd-status[hidden] { display: none; }
.rd-counts > div { padding-left: 12px; border-left: 1px solid var(--line); min-width: 0; }
.rd-counts dt { color: var(--muted); font-size: var(--text-xs); }
.rd-counts dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rd-status { margin: 12px 0; color: var(--muted); }
.rd-status[data-state="error"] { color: var(--danger); }
.rd-wrap { overflow-x: auto; }
.rd-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd-table { min-width: 960px; }
.rd-table .dt-cell.rd-stack { display: flex; flex-direction: column; gap: 1px; height: auto; line-height: 1.35; white-space: normal; }
.rd-table .dt-cell.rd-blocker { height: auto; white-space: normal; overflow-wrap: anywhere; }
.rd-table > tbody > tr.rd-fund-row > th {
    padding: 8px 12px;
    text-align: left;
    font-weight: 400;
    text-transform: none;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}
.rd-fund-name { font-weight: 600; }
.rd-legacy { margin-left: 8px; color: var(--muted); font-size: var(--text-xs); }
.rd-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }

.rd-history { min-width: 160px; max-width: 420px; }
.rd-history summary { cursor: pointer; }
.rd-history ol { padding-left: 18px; white-space: normal; }
.rd-history li + li { margin-top: 16px; }
.rd-history dt { font-weight: 600; margin-top: 6px; }
.rd-history dd { margin: 0; overflow-wrap: anywhere; }

.rd-table .dt-cell.rd-history-cell { display: block; height: auto; overflow: visible; white-space: normal; }
