/* Energy Resources Insights - V12 sidebar scrolling stability patch.
   Load AFTER report-sidebar-v11.css. This is scoped to report details.
   V11 layout width, colors and format cards are retained.

   The prior code pinned both purchase and sample cards using JS and
   reduced their placeholders' heights. V12 keeps them in normal flow.
*/
body .report-body-modern .report-workspace > .rd-bgw1 {
  align-self: start !important;
  min-height: 0;
  min-width: 0;
}
body .report-body-modern .rd-bgw1 form[name="addcart"],
body .report-body-modern .rd-bgw1 .sidebar-col,
body .report-body-modern .rd-bgw1 .enr-sample-slot {
  height: auto !important;
  min-height: 0;
  max-height: none !important;
}
body .report-body-modern .rd-bgw1 #license-section,
body .report-body-modern .rd-bgw1 #enr-sample-card {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  transform: none !important;
}
/* Remove any docked/collapsed state left by cache-stale scripts. */
body .report-body-modern .rd-bgw1 #license-section .license-panel-heading {
  display: block !important;
}
body .report-body-modern .rd-bgw1 #license-section .license-scroll-summary {
  display: none !important;
}
body .report-body-modern .rd-bgw1 #license-section #license-choices {
  display: block !important;
}
body .report-body-modern .rd-bgw1 #license-section .license-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
body .report-body-modern .rd-bgw1 .enr-sidebar #downloadForm .enr-submit {
  position: static !important;
  inset: auto !important;
  transform: none !important;
}
/* Keep interactive controls visible when accordion details expand. */
body .report-body-modern .rd-bgw1 .license-accordion-item,
body .report-body-modern .rd-bgw1 .license-benefits {
  scroll-margin-top: 18px;
}
@media (max-width: 849px) {
  body .report-body-modern .report-workspace > .rd-bgw1 {
    grid-column: 1 / -1;
  }
}
