/* UI33 — reassert the proven R28 Wealth mobile-header contract after the common UI shell. */
@media (max-width:720px){
  #wealth-management-area .wealth-product-header{
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  #wealth-management-area .wealth-product-brand,
  #wealth-management-area .wealth-product-title,
  #wealth-management-area .wealth-product-tools,
  #wealth-management-area .wealth-product-actions{
    min-width:0!important;
    max-width:100%!important;
  }
  #wealth-management-area .wealth-product-brand{width:100%!important;align-items:center!important}
  #wealth-management-area .wealth-product-title h1,
  #wealth-management-area .wealth-product-subtitle{
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    max-width:100%!important;
  }
  #wealth-management-area .wealth-product-tools{width:100%!important}
  #wealth-management-area .wealth-product-actions{
    width:100%!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin;
    padding-bottom:2px!important;
  }
  #wealth-management-area .wealth-product-actions .header-action-link{flex:0 0 auto!important;min-height:42px!important}
  #wealth-management-area .wealth-function-nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    max-width:100%!important;
  }
  #wealth-management-area .wealth-function-tab{flex:0 0 auto!important}
}
@media (max-width:430px){
  #wealth-management-area .wealth-product-header{padding-inline:10px!important}
  #wealth-management-area .wealth-product-logo{flex:0 0 auto!important}
  #wealth-management-area .wealth-product-title{width:auto!important;flex:1 1 auto!important}
}
