.pi-research-prose figure, .blog_message figure { margin: 2rem 0; }
.pi-research-prose figure img, .blog_message figure img { display: block; max-width: 100%; height: auto; }
.pi-research-prose figcaption, .blog_message figcaption { margin-top: .75rem; color: #526277; font-size: .9em; line-height: 1.6; }
.pi-research-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94em; }
.pi-research-table th, .pi-research-table td { padding: .8rem .6rem; text-align: left; vertical-align: top; border-bottom: 1px solid #dce3eb; overflow-wrap: anywhere; }
.pi-research-table th { color: #27384c; background: #f5f7fa; }
.pi-research-table-scroll .pi-research-table { min-width: 36rem; }
.pi-research-table-scroll .pi-research-table--decisions { min-width: 40rem; }
/* Prose comparisons become labeled records before their columns stop fitting. */
@media (max-width: 991.98px) {
  .pi-research-table-scroll .pi-research-table,
  .pi-research-table-scroll .pi-research-table tbody,
  .pi-research-table-scroll .pi-research-table tr,
  .pi-research-table-scroll .pi-research-table tbody th,
  .pi-research-table-scroll .pi-research-table td { display: block; min-width: 0; width: 100%; }
  .pi-research-table-scroll .pi-research-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pi-research-table-scroll .pi-research-table tr { padding: 1rem 0; border-bottom: 1px solid #dce3eb; }
  .pi-research-table-scroll .pi-research-table tbody th,
  .pi-research-table-scroll .pi-research-table td { border: 0; padding: .4rem 0; overflow-wrap: anywhere; }
  .pi-research-table-scroll .pi-research-table td::before { content: attr(data-title); display: block; color: #526277; font-size: .8125rem; font-weight: 600; margin-bottom: .25rem; }
}
.pi-backtest-methods { margin-top: clamp(36px, 5vw, 54px); padding-top: 24px; border-top: 1px solid var(--pi-rule); }
.pi-method-comparison-table { min-width: 36rem; }
@media (max-width: 767.98px) {
  .pi-method-comparison-table,
  .pi-method-comparison-table tbody,
  .pi-method-comparison-table tr,
  .pi-method-comparison-table tbody th,
  .pi-method-comparison-table td { display: block; min-width: 0; width: 100%; }
  .pi-method-comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pi-method-comparison-table tr { padding: 1rem 0; border-bottom: 1px solid var(--pi-rule); }
  .pi-method-comparison-table tbody th,
  .pi-method-comparison-table td { border: 0; padding: .4rem 0; overflow-wrap: anywhere; }
  .pi-method-comparison-table td::before { content: attr(data-title); display: block; color: var(--pi-ink-650); font-size: .8125rem; font-weight: 600; margin-bottom: .25rem; }
}
.pi-research-update { border-left: 3px solid #52778b; padding-left: 1rem; color: #526277; font-size: .9em; }
.pi-research-callout { padding: 1.25rem; border: 1px solid #dce3eb; border-radius: .6rem; background: #f7f9fb; margin: 1.5rem 0; }
.pi-research-prose code, .blog_message code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 480px) { .pi-research-table th, .pi-research-table td { padding: .65rem .35rem; font-size: .9em; } }
