/* v0.11.11-FN4R1.18 · Digital Hub annotated rail alignment.
   Uses the user's marked screenshot as the visual contract: one clean free band
   for the seam control, then equal tall navigation cells with truly centred
   icons, followed by a deliberate footer separation. */

@media (min-width:1051px){
  /* Keep the first navigation cell on the accepted FN4R1.17 datum. */
  body.imb-institutional-aurora #appView.app-shell.sidebar-collapsed #hubSidebar .sidebar-nav{
    margin-top:4.20rem!important;
    gap:.86rem!important;
    align-content:start!important;
  }

  /* The previous rail was tall enough in principle, but its viewport formula
     rendered the cells a little too short at the review resolution. This
     range matches the annotated boxes while still compressing on short laptops. */
  body.imb-institutional-aurora #appView.app-shell.sidebar-collapsed #hubSidebar .nav-link{
    min-height:clamp(7.65rem,16.45vh,8.90rem)!important;
    height:clamp(7.65rem,16.45vh,8.90rem)!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }

  /* Centre the glyph itself, not merely the flex item that contains it. */
  body.imb-institutional-aurora #appView.app-shell.sidebar-collapsed #hubSidebar .nav-icon{
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    transform:none!important;
  }
  body.imb-institutional-aurora #appView.app-shell.sidebar-collapsed #hubSidebar .nav-icon .m3-nav-svg{
    display:block!important;
    margin:auto!important;
  }

  /* Keep the account tile visually detached from the last navigation cell.
     The spacer still absorbs surplus height for accounts with fewer buttons. */
  body.imb-institutional-aurora #appView.app-shell.sidebar-collapsed #hubSidebar .sidebar-footer{
    margin-top:.42rem!important;
  }
}
