/* Retained research pages: compact actions, independent data states, exact inputs. */
.pi-research-monitoring {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--pi-border, #d7e0ea);
    border-left: 3px solid var(--pi-blue, #155eef);
    background: var(--pi-surface, #fff);
}
.pi-research-monitoring h2 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.3; }
.pi-research-monitoring p { max-width: 65ch; margin: 0 0 1rem; line-height: 1.6; }
.pi-research-monitoring__note { color: var(--pi-muted, #526479); font-size: .875rem; }
.pi-research-monitoring .pi-button { white-space: normal; text-align: center; }
.pi-legacy-research { padding-top: 2rem; padding-bottom: 3rem; }
.pi-legacy-research__body { max-width: 800px; min-width: 0; }
.pi-legacy-research__intro { max-width: 70ch; margin-bottom: 1.5rem; }
.pi-legacy-research__basis {
    padding: 1rem 1.25rem; margin: 1.5rem 0;
    border-left: 3px solid var(--pi-blue, #155eef); background: #eef4fb;
}
.pi-legacy-research__basis p { margin: .5rem 0 0; line-height: 1.6; }
.pi-legacy-research [data-research-section] {
    min-width: 0; padding: 1.5rem 0; border-top: 1px solid var(--pi-border, #d7e0ea);
}
.pi-legacy-research [data-research-section] h2 { margin: 0 0 1rem; font-size: 1.5rem; line-height: 1.3; }
.pi-legacy-research [data-research-status] { margin: 0; padding: 1rem; background: #f3f6fa; color: #41556d; line-height: 1.6; }
.pi-legacy-research [data-research-retry] { margin-top: .75rem; }
.pi-legacy-research [data-research-content] { min-width: 0; max-width: 100%; }
.pi-legacy-research [data-research-content][hidden],
.pi-legacy-research [data-research-status][hidden],
.pi-legacy-research [data-research-retry][hidden] { display: none !important; }
.pi-legacy-research__table { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.pi-legacy-research__table table { width: 100%; margin: 0; }
.pi-legacy-research__table th, .pi-legacy-research__table td { padding: .75rem; vertical-align: middle; }
.pi-legacy-research__table th:first-child, .pi-legacy-research__table td:first-child { overflow-wrap: anywhere; }
.pi-legacy-research__table th:last-child, .pi-legacy-research__table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pi-legacy-research__table caption { font-size: .875rem; color: #526479; }
.pi-legacy-research__holdings { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.25rem; align-items: center; }
.pi-recorded-capital { font-variant-numeric: tabular-nums; }
.pi-custom-run [data-exact-recorded-capital] { margin-top: 1rem; color: var(--pi-muted, #526479); }
.pi-custom-run [data-exact-recorded-capital] summary { cursor: pointer; padding: .5rem 0; font-size: .875rem; }
.pi-custom-run [data-exact-recorded-capital] p { margin: .5rem 0 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {
    .pi-research-monitoring { padding: 1.25rem; }
    .pi-research-monitoring .pi-button { width: 100%; }
    .pi-legacy-research { padding-top: 1.5rem; }
    .pi-legacy-research__holdings { grid-template-columns: minmax(0, 1fr); }
}
