/* Elevate R37 UI19 — Mobile Table Policy R1
   Policy: true detail tables scroll; existing action-heavy Asset Collector rows remain cards; no priority columns are hidden. */
@media(max-width:768px){
  .dashboard-page :where(.portfolio-table-wrap,.wizard-table-wrap,.wizard-squareoff-table,.oi-table-wrap,.portfolio-book-legs-table,.expiry-performance-table-wrap,.wb-table-wrap),
  .admin-page table,
  .user-manual-page table,
  .wealth-user-manual-page .table{
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-inline:contain!important;
    touch-action:pan-x pan-y!important;
    scrollbar-width:thin!important;
  }
  .dashboard-page :where(.portfolio-table,.oi-table,.wb-table,.forecast-table,.cache-unit-table),
  .dashboard-page .wizard-table-wrap table,
  .dashboard-page .wizard-squareoff-table table{
    width:max-content;
    min-width:100%;
  }
  /* Preserve R33/R34 card-style mobile asset records; never force them back into a wide table. */
  #wealth-asset-collector-view .wealth-asset-row,
  #wealth-asset-collector-view .wealth-manual-asset-row{
    max-width:100%!important;
  }
}
