Fixed gain/loss % calc. Updated styles.