Most impactful firearms legislation in decades will tighten rules for selling guns to young people, earmark money for mental health, but stops short of banning assault weapons