/* One continuous sidebar scroll, with account settings anchored below. */
#yap-desktop-menu[open]>#yap-tool-menu{
 display:flex!important;flex-direction:column!important;
 overflow-x:hidden!important;overflow-y:auto!important;
 overscroll-behavior-y:contain;scrollbar-width:thin;
}
#yap-tool-menu .yap-nav-recents{
 flex:0 0 auto!important;min-height:0!important;
 max-height:none!important;overflow:visible!important;
 display:block!important;
}
#yap-tool-menu .yap-nav-recents #history,
#yap-tool-menu #history{
 height:auto!important;max-height:none!important;min-height:0!important;
 overflow:visible!important;overscroll-behavior:auto!important;
 scrollbar-width:none!important;
}
#yap-tool-menu>.yap-project-navigation{
 flex:0 0 auto!important;max-height:none!important;
 overflow:visible!important;min-height:0!important;
}
#yap-tool-menu .yap-sidebar-footer{
 margin-top:auto!important;position:sticky!important;bottom:0!important;
 z-index:10;flex-shrink:0!important;
 background:var(--side,var(--panel))!important;
}
#yap-tool-menu .yap-nav-recents .yap-chat-entry,
#yap-tool-menu .yap-project-folder{max-width:100%;box-sizing:border-box}
#yap-tool-menu .yap-nav-recents .yap-chat-entry>button:first-child{
 min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){
 #yap-desktop-menu[open]>#yap-tool-menu{overflow-y:auto!important}
 #yap-tool-menu .yap-sidebar-footer{padding-bottom:max(4px,env(safe-area-inset-bottom))}
}
